package com.dailyblue.project.smbms.alibaba.user.feign;

import com.dailyblue.project.smbms.alibaba.commons.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "alibaba-role")
public interface RoleFeign {
    @GetMapping("/role/{id}")
    JsonResult find(@PathVariable("id") int id);
}
